package com.gd.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Deal {
	
	 @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	 @PrimaryKey
	 private Long id;
	 
	 @Persistent
	 private String dealId;
	 @Persistent
	 private String name;
	 @Persistent
	 private String advertiserId;
	 @Persistent
	 private String advertiserName;
	 @Persistent
	 private String trackingURL;
	 @Persistent
	 private String creativeURL;
	 @Persistent
	 private String htmlCode;
	 @Persistent
	 private String startDate;
	 @Persistent
	 private String endDate;
	 @Persistent
	 private String type;
	 @Persistent
	 private String category;
	 @Persistent
	 private String promotionType;
	 
	 public Deal(){}

	public String getDealId() {
		return dealId;
	}

	public void setDealId(String dealId) {
		this.dealId = dealId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(String advertiserId) {
		this.advertiserId = advertiserId;
	}

	public String getAdvertiserName() {
		return advertiserName;
	}

	public void setAdvertiserName(String advertiserName) {
		this.advertiserName = advertiserName;
	}

	public String getTrackingURL() {
		return trackingURL;
	}

	public void setTrackingURL(String trackingURL) {
		this.trackingURL = trackingURL;
	}

	public String getCreativeURL() {
		return creativeURL;
	}

	public void setCreativeURL(String creativeURL) {
		this.creativeURL = creativeURL;
	}

	public String getHtmlCode() {
		return htmlCode;
	}

	public void setHtmlCode(String htmlCode) {
		this.htmlCode = htmlCode;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getPromotionType() {
		return promotionType;
	}

	public void setPromotionType(String promotionType) {
		this.promotionType = promotionType;
	}


}
